export const updateUserMessage = () => {
    let env = new Event('updateUserMessage')
    window.dispatchEvent(env)
}
export const updateLineStatus = data => {
    let env = new CustomEvent('updateLineStatus',{
        detail:data
    })
    window.dispatchEvent(env)
}
export const contorlMessageCenter = ()=>{
    let env = new Event('contorlMessageCenter')
    window.dispatchEvent(env)
}